package com.cv.platform.api.video;

import com.cv.platform.service.video.CvVideoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * 视频平台 - 视频 API 接口实现类
 * 
 * @author Charles_XDXD
 */
@DubboService
public class CvVideoApiImpl implements CvVideoApi {

    @Resource
    private CvVideoService cvVideoService;
    
    @Override
    public void deleteAllVideo(Long userId) {
        cvVideoService.deleteAllVideo(userId);
    }

    @Override
    public void updateTranscodingToAuditing(Long url) {
        cvVideoService.updateTranscodingToAuditing(url);
    }

}
